﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace Srs.Sample.Services
{
    [ServiceContract]
    public interface ICustomerService
    {
        [OperationContract]
        List<Customer> GetCustomers ();

        [OperationContract]
        List<Dealer> GetDealersForCustomer (int customerID);

        [OperationContract]
        int SaveCustomer (Customer customer);

        [OperationContract]
        void DeleteCustomer (Customer customer);

        [OperationContract]
        Customer GetCustomer (int customerID);

        [OperationContract]
        void TestTransaction ();
    }
}
